home *** CD-ROM | disk | FTP | other *** search
- Path: sn.no!not-for-mail
- From: ilan@sn.no (Ilan Sharoni)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: BitMap problem
- Date: 17 Apr 1996 01:28:54 +0200
- Organization: SN Internett
- Message-ID: <4l1afm$ioo@sinsen.sn.no>
- References: <Pine.LNX.3.91.960415142638.3721A-100000@mix.hsv.no>
- NNTP-Posting-Host: sinsen.sn.no
- X-Newsreader: THOR 2.0 (SOUP)
-
- On 15-Apr-96 14:33:45, Leonard Faanes (shoeless@mix.hsv.no) Wrote:
-
- >Hmm. There still seems to be your fault. The following should work:
-
- >InitRastPort(rp)
- >bm=AllocBitMap
- >rp->BitMap=bm
-
- >RectFill() The rendering MUST NOT go outside the bitmap, or else you
- >Text() need a layer for clipping it. (Makes you wonder
- > why clipregions isn't rastport related instead of layer
- > related...(like the egs system))
-
- RectFill(0,0,bitmap_width,bitmap_height) - is this too big?
-
- >WaitBlit() (you never know)
- >FreeBitMap();
-
- Sure it works, but when I'm finished, and back in my original
- window, the leftmost menu-strip is either gone, or explode the
- moment I try to access it.
-
- >Beep!
-
- It is rather boooooooooom!!!!!!!!.
-
- ilan
-
-
-
-
-
-